package com.zzyl.nursing.service;


import com.zzyl.nursing.domain.PageBean;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.dto.TimeSlotCountDto;
import com.zzyl.serve.domain.NursingProject;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface MemberOrdersService {


    PageBean<NursingProject> findAllPage(String name, Integer page, Integer pageSize, Integer status);

    NursingProject selectById(Long id);

    int getTodayCancelledCount();

    List<TimeSlotCountDto> getCountByTime();

    boolean insertReservation(ReservationDto dto);


    PageBean<Reservation> findReservationPage(Integer pageNum, Integer pageSize, Integer status);
}
